.home {
  position: relative;
  padding-bottom: 150px;
  background-color: #C5E9F5;
  z-index: 999;
  overflow: hidden;
}

.header {
  width: 100%;
  height: 1020px;
}

.bg-one {
  display: block;
  width: 750px;
  height: auto;
}

.banner-two {
  position: relative;
  width: 100%;
  z-index: 1;

  .bg-two {
    display: block;
    width: 750px;
    height: auto;
    z-index: -1;
  }

  .name {
    position: absolute;
    top: 35px;
    right: 155px;
    font-size: 36px;
    font-family: FZHanZhenGuangBiaoS-GB Regular, FZHanZhenGuangBiaoS-GB Regular-Regular;
    font-weight: 600;
    text-align: center;
    color: #fffefe;
    text-shadow: 0px 2px 0px 0px #000000;
    z-index: 99;
  }
}

.banner-three {
  position: relative;
  width: 100%;
  height: 100%;

  .bg-three {
    position: absolute;
    display: block;
    width: 750px;
    height: auto;
  }

  //权益精选
  .member {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 310px;
    box-sizing: border-box;
    padding: 0 30px;

    .member-item {
      position: relative;
      width: 230px;
      height: 231px;
      z-index: 0;

      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
      }

      .name {
        width: 100%;
        margin-top: 50px;
        font-size: 21px;
        font-family: Adobe Heiti Std R, Adobe Heiti Std R-R;
        font-weight: R;
        text-align: center;
        color: #E08E52;
        line-height: 26px;
        box-sizing: border-box;
        padding: 0 20px;
        padding-right: 30px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
      }

      .desc {
        width: 100%;
        margin-top: 18px;
        font-size: 19px;
        font-family: Adobe Heiti Std R, Adobe Heiti Std R-R;
        font-weight: R;
        text-align: center;
        color: #2f2b31;
        box-sizing: border-box;
        padding: 0 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }

      .price {
        position: absolute;
        left: 50%;
        bottom: 23px;
        width: 100%;
        transform: translate(-50%, 0);
        display: flex;
        justify-content: center;
        align-items: center;

        .sale-price {
          font-size: 21px;
          font-family: FZLanTingHeiPro_GB18030 Bold, FZLanTingHeiPro_GB18030 Bold-Bold;
          font-weight: 600;
          color: #6C250F;
        }

        .market-price {
          margin-left: 5px;
          font-size: 14px;
          font-family: FZLanTingHeiPro_GB18030 Regular, FZLanTingHeiPro_GB18030 Regular-Regular;
          font-weight: 400;
          text-decoration: line-through;
          color: #2F2B31;
        }
      }

      &:nth-child(2) {
        align-self: flex-end;
      }
    }

  }
}

.go-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 415px;
  box-sizing: border-box;
  padding: 0 20px;
  margin-top: 50px;

  .lottery {
    position: relative;
    width: 360px;
    height: 100%;
    z-index: 0;

    .lottery-img {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .lottery-number {
      position: absolute;
      left: 50%;
      bottom: 10px;
      transform: translate(-50%,0);
      font-size: 18px;
      font-family: Adobe Heiti Std R, Adobe Heiti Std R-R;
      font-weight: R;
      text-align: center;
      color: #080103;
      line-height: 19px;
    }
  }

  .red-packet {
    align-self: flex-end;
    display: block;
    width: 307px;
    height: 387px;
    z-index: 99;
  }
}


//玩转每周
.play-week {
  width: 330px;
  height: auto;
  margin-top: 74px;
}

.seckill {
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
  margin-top: 30px;


  //头部导航
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90px;

    .nav-item {
      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: column;
      border: 5px solid #492c99;
      height: 106px;
      border-radius: 20px 20px 0px 0px;
      overflow: hidden;

      .month-s {
        width: 100%;
        height: 40px;
        background-color: #EF6C76;
        font-size: 27px;
        font-family: FZZhengHeiS-DB-GB Regular, FZZhengHeiS-DB-GB Regular-Regular;
        font-weight: 400;
        text-align: center;
        color: #ffffff;
        line-height: 40px;
        letter-spacing: 1px;
      }

      .nav-name {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: calc(100% - 40px);
        font-size: 30px;
        font-family: FZZhengHeiS-DB-GB Regular, FZZhengHeiS-DB-GB Regular-Regular;
        font-weight: 500;
        text-align: center;
        color: #ef6c76;
        letter-spacing: 2px;
        background-color: #FFCC33;
      }

      &.active {
        background: #f7f3ef;

        .nav-name {
          background-color: #FFFFFF;
          color: #EF6C76;
        }
      }
    }
  }

  //频道列表
  .type {
    width: 100%;
    margin-top: 22px;
    background: #ffffff;
    box-sizing: border-box;
    border: 5px solid #6249a7;
    overflow: hidden;

    .title {
      position: relative;
      left: 0;
      top: 0;
      width: 100%;
      height: 53px;
      font-size: 36px;
      font-family: FZHanZhenGuangBiaoS-GB Regular, FZHanZhenGuangBiaoS-GB Regular-Regular;
      font-weight: 400;
      text-align: center;
      color: #ffffff;
      letter-spacing: 2px;
      background-color: #FFCC33;

      .title-img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 148px;
        height: 35px;
        margin: 0 auto;
      }
    }

    .list {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
      margin-top: 26px;
      box-sizing: border-box;
      padding: 0 15px;
      margin-bottom: 20px;

      .list-wrap {
        width: 50%;
        margin-bottom: 40px;

        &:nth-child(2n) {
          .list-item {
            float: right;
            margin-right: 20px;
          }
        }
      }

      .list-item {
        position: relative;
        width: 307px;
        height: 486px;
        z-index: 9;

        .list-content {
          position: absolute;
          width: 100%;
          height: 100%;
          border: 5px solid #492c99;
          background-color: #FFFFFF;

          &::after {
            content: '';
            display: block;
            width: 100%;
            height: 100%;
            border: 5px solid #492c99;
            position: absolute;
            left: 10px;
            top: 10px;
            z-index: -1;
          }
        }


        .save {
          position: relative;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;
          position: absolute;
          top: 10px;
          right: 10px;
          width: 100px;
          height: 100px;
          border-radius: 50%;
          font-size: 20px;
          font-family: FZLanTingHeiS-R-GB Regular, FZLanTingHeiS-R-GB Regular-Regular;
          font-weight: 400;
          text-align: center;
          color: #ffffff;
          z-index: 9;
          .bg{
            position: absolute;
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            z-index: -1;
          }
        }


        .product-img {
          display: block;
          width: 290px;
          height: 290px;
          margin: 0 auto;
          margin-top: 8px;
        }

        .name-content {
          width: 100%;
          min-height: 80px;
          margin-top: 5px;
          box-sizing: border-box;
          padding: 0 20px;

          .name {
            width: 100%;
            text-align: left;
            color: #333333;
            overflow: hidden;
            font-weight: 600;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            font-size: 26px;
            font-family: FZLanTingHeiPro_GB18030 SemiBold, FZLanTingHeiPro_GB18030 SemiBold-SemiBold;
            font-weight: SemiBold;
          }
        }


        .price {
          display: flex;
          justify-content: center;
          align-items: flex-end;

          .sale-price {
            font-size: 32px;
            font-family: FZLanTingHeiPro_GB18030 Bold, FZLanTingHeiPro_GB18030 Bold-Bold;
            font-weight: 700;
            color: #d13d49;
          }

          .market-price {
            margin-left: 15px;
            font-size: 24px;
            font-family: FZLanTingHeiPro_GB18030 Regular, FZLanTingHeiPro_GB18030 Regular-Regular;
            font-weight: 400;
            text-decoration: line-through;
            color: #666666;
          }
        }

        .go-buy {
          position: absolute;
          left: 0;
          bottom: 0;
          width: 100%;
          height: 53px;
          font-size: 24px;
          font-family: Adobe Heiti Std R, Adobe Heiti Std R-R;
          font-weight: R;
          text-align: center;
          color: #ffffff;
          line-height: 53px;
          background-color: #5A4398;
        }
      }
    }

    &.hotel {
      .hotel-wrap {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 40px;
        margin-bottom: 25px;
        box-sizing: border-box;
        padding: 0 20px;

        .hotel-content {
          position: relative;
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          height: 100%;
          box-sizing: border-box;
          padding: 0 28px;
          z-index: 0;

          .hotel-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            z-index: -1;
          }

          .hotel-product {
            width: 100%;
            height: 246px;
            margin-top: 100px;
          }

          .left {
            width: 197px;
            height: 246px;
            margin-top: 105px;
            background: linear-gradient(#f5dddc 0%, #fff3f2 100%);
            border-radius: 16px;
            box-shadow: 0px 4px 10px 0px rgba(232, 203, 202, 0.5) inset;

            .hotel-info {
              position: relative;
              width: 100%;
              height: 100%;
              background: linear-gradient(#f5dddc 0%, #fff3f2 100%);
              border-radius: 16px;
              box-shadow: 0px 4px 10px 0px rgba(232, 203, 202, 0.5) inset;
              overflow: hidden;

              .save {
                position: absolute;
                left: 0;
                top: 0;
                padding: 5px 10px;
                background: #e1302c;
                border-radius: 16px 0px 20px 0px;
                font-size: 16px;
                font-family: FZZhengHeiS-DB-GB Regular, FZZhengHeiS-DB-GB Regular-Regular;
                font-weight: 400;
                text-align: center;
                color: #ffffff;
              }

              .goods-img {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                width: 150px;
                height: 101px;
              }

              .name {
                position: absolute;
                left: 0;
                bottom: 17px;
                width: 100%;
                font-size: 20px;
                font-family: FZLanTingHeiS-B-GB Regular, FZLanTingHeiS-B-GB Regular-Regular;
                font-weight: 500;
                text-align: center;
                color: #1a1a1a;
                box-sizing: border-box;
                padding: 0 10px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
              }
            }
          }

          .right {
            display: flex;
            justify-content: flex-start;
            align-items: start;
            flex-wrap: wrap;
            width: calc(100% - 205px);
            height: 246px;
            margin-top: 100px;
            //background: linear-gradient(#f5dddc 0%, #fff3f2 100%);
            border-radius: 16px;
            //box-shadow: 0px 4px 10px 0px rgba(232, 203, 202, 0.5) inset;

            .list-wrap {
              width: 50%;

              &:nth-child(2n) {
                .list-item {
                  float: right;
                }
              }

              &:nth-child(3), &:nth-child(4) {
                align-self: flex-end;
              }
            }

            .list-item {
              position: relative;
              width: 197px;
              height: 118px;
              z-index: 9;

              .list-content {
                position: absolute;
                width: 100%;
                height: 100%;
                background: linear-gradient(#f5dddc 0%, #fff3f2 100%);
                border-radius: 16px;
                box-shadow: 0px 4px 10px 0px rgba(232, 203, 202, 0.5) inset;

                .hotel-info {
                  position: relative;
                  width: 100%;
                  height: 100%;
                  background: linear-gradient(#f5dddc 0%, #fff3f2 100%);
                  border-radius: 16px;
                  box-shadow: 0px 4px 10px 0px rgba(232, 203, 202, 0.5) inset;
                  overflow: hidden;

                  .save {
                    position: absolute;
                    left: 0;
                    top: 0;
                    padding: 2px 10px;
                    background: #e1302c;
                    border-radius: 16px 0px 20px 0px;
                    font-size: 16px;
                    font-family: FZZhengHeiS-DB-GB Regular, FZZhengHeiS-DB-GB Regular-Regular;
                    font-weight: 400;
                    text-align: center;
                    color: #ffffff;
                  }

                  .goods-img {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    width: 59px;
                    height: 43px;
                  }

                  .name {
                    position: absolute;
                    left: 0;
                    bottom: 5px;
                    width: 100%;
                    font-size: 20px;
                    font-family: FZLanTingHeiS-B-GB Regular, FZLanTingHeiS-B-GB Regular-Regular;
                    font-weight: 500;
                    text-align: center;
                    color: #1a1a1a;
                    box-sizing: border-box;
                    padding: 0 10px;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;
                  }
                }

              }
            }
          }
        }
      }
    }
  }

}

